<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script src="jquery-3.3.1.min.js"></script>
  </head>
  <body>
    <div></div>
    <script>
      $("div").css({
        width: 400,
        height: 400,
        backgroundColor: "red"	// 属性名可以不加引号，但需要用驼峰法书写
      });
    </script>
  </body>
</html>